#!usr/bin/env python
#-*- coding:utf-8 _*-
"""
@author:chengyanan
@file: run_case.py
@time: 2019/12/22  3:44 下午
"""
#对应的case的unitest_case和unitest_case02
import unittest
class RunCase(unittest.TestCase):
    def test_case01(self):
        #discover三个参数
        #start_dir
        #pattern 匹配规则
        suite=unittest.defaultTestLoader.discover("./","unitest*.py")
        unittest.TextTestRunner().run(suite)

if __name__ == '__main__':
    unittest.main()
